#ifndef __MP_HTTP_CLIENT_CONTEXT_H__
#define __MP_HTTP_CLIENT_CONTEXT_H__

#include "tcp_client_context.h"

namespace Gazella {
class HttpClientContext: public TcpClientContext {
public:
    HttpClientContext() {};
    ~HttpClientContext() {};

    //recv
    size_t recv_len; //request recv length
    size_t http_buffer_pos; //point to rx_buffer position
    int http_state; //http request state
    ssize_t http_content_length; //POST/PUT Content-Length, if have
};
}

#endif